<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/19
 * Time: 11:13
 */

namespace app\index\controller;

use \think\Controller;
class Layout extends Controller
{
    public function head(){
        $res=\think\Db::table('cate')->select();
        $this->assign('res',$res);
        return view();
    }
}